package com.yangxc.applet.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 日志表
 * </p>
 *
 * @author yangxc
 * @since 2022-10-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_log")
public class SysLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String type;

    private String title;

    private String traceId;

    private String result;

    private LocalDateTime createTime;

    private Long executeTime;

    private String method;

    private String userAgent;

    private String url;

    private String ip;

    private String params;

    private String exception;

    private String delFlag;

    private String location;

    private Integer tenantId;

    private String createBy;


}
